#!/bin/bash
#
# Copyright (C) 2016 The CyanogenMod Project
# Copyright (C) 2017-2020 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#

#function blob_fixup() {
#    case "${1}" in
#        vendor/lib/hw/camera.sdm660.so | vendor/lib/libmmcamera_interface.so )
#            "${PATCHELF}" --replace-needed "libcutils.so" "libcutils-v27.so" "${2}"
#            ;;
#    esac
#}

# Load extract_utils and do some sanity checks
MY_DIR="${BASH_SOURCE%/*}"
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
    return
fi

set -e

LINEAGE_ROOT="$MY_DIR"/../../..

export DEVICE=QK1707
export DEVICE_COMMON=sdm660-common
export VENDOR=qiku

export DEVICE_BRINGUP_YEAR=2021

"${MY_DIR}/../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"

#BLOB_ROOT="$LINEAGE_ROOT"/vendor/"$VENDOR"/"$DEVICE"/proprietary

